<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Area_id')}:</label>
    
        <div class="form-inline" data-toggle="cxselect" data-selects="province,city,area">&nbsp;&nbsp;&nbsp;
        <select class="province form-control" name="province" data-url="ajax/area2">
                 <option value="{$row['province_id']|htmlentities}"></option>
        </select>
        <select class="city form-control" name="city" data-url="ajax/area2" >
                 <option value="{$row.city_id|htmlentities}"></option>
        </select>
        <select class="area form-control" name="row[area_id]" data-url="ajax/area2" data-rule="required" >
                 <option value="{$row.area_id|htmlentities}"></option>
        </select>
        </div>
    </div>
    
 
 
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address"  class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Standard')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-standard"  class="form-control" name="row[standard]" type="text" value="{$row.standard|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Delivery_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-trun_time"  class="form-control"  name="row[trun_time]" type="text" value="{$row.trun_time|htmlentities}" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('House_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-house_type"  class="form-control" name="row[house_type]" type="text" value="{$row.house_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('House_area')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-house_area"  class="form-control" name="row[house_area]" type="text" value="{$row.house_area|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('House_imgs')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-house_imgs"  class="form-control" size="50" name="row[house_imgs]" type="text" value="{$row.house_imgs|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-house_imgs" class="btn btn-danger faupload" data-input-id="c-house_imgs" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-house_imgs"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-house_imgs" class="btn btn-primary fachoose" data-input-id="c-house_imgs" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-house_imgs"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-simage"></ul>
        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sign_did')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sign_did"   data-source="byd_user/index"  data-field="username"  class="form-control selectpage"  name="row[sign_did]" type="text"  value="{$row.sign_did|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sign_bid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sign_bid"   data-source="byd_user/index"   data-field="username"  class="form-control selectpage"  name="row[sign_bid]" type="text" value="{$row.sign_bid|htmlentities}">
        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sale_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sale_id" data-source="auth/admin"    data-field="nickname" class="form-control selectpage" name="row[sale_id]" type="text"  value="{$row.sale_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('物流站点')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wl"   class="form-control " name="row[wl]" type="text" value="{$row.wl|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
